package com.aaa.dem1110.模板方法模式;

/**
 * @Author: whj
 * @Version 1.0
 * @Date: 2022/11/10  15:05
 */
public class FanQieChaoDan extends ChaoCai{
    @Override
    public void buy() {
        System.out.println("番茄和鸡蛋");
    }

    @Override
    public void handle() {
        System.out.println("处理番茄和鸡蛋");
    }

    @Override
    public void qiguoshaoyou() {
        System.out.println("起锅烧油");
    }

    @Override
    public void putin() {
        System.out.println("放入番茄和鸡蛋");
    }

    @Override
    public void tiaoliao() {
        System.out.println("放入盐和味精");
    }

    @Override
    public void fanchao() {
        System.out.println("翻炒均匀");
    }

    @Override
    public void chengCai() {
        System.out.println("炒完盛菜");
    }
}
